﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebApplication/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="ADTablet.aspx.cs" Inherits="WebApplication_ADTablet" %>

<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

            <div id="content">
                        
                           
                 <h1 style="color: #0099FF">
                        
                           
                     Tablet</h1>
&nbsp;<br />
                    <asp:Button ID="btNew" runat="server" style="text-align: right" 
                        Text="Add new" class="button" onclick="btNew_Click" />
                    <asp:Button ID="btSearch" runat="server" style="text-align: right" 
                        Text="Search by Model" class="button" onclick="btSearch_Click" />
                    <asp:TextBox ID="txtSearch" runat="server" 
                        style="text-align: right; margin-left: 0px" class="input-medium"></asp:TextBox>
                    <br />
                 <br />
                 <br />
                 <br />

                 <asp:GridView ID="GridView1" runat="server" BackColor="White" 
                     BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="2px" CellPadding="3" 
                     AutoGenerateColumns="False" Width="100%" 
                     onrowdeleting="GridView1_RowDeleting" 
                     onselectedindexchanged="GridView1_SelectedIndexChanged">
                     <Columns>
                         <asp:TemplateField HeaderText="Check">
                             <EditItemTemplate>
                                 <asp:CheckBox ID="CheckBox1" runat="server" />
                             </EditItemTemplate>
                             <HeaderTemplate>
                                 <asp:Label ID="Label1" runat="server" Text="Check"></asp:Label>
                             </HeaderTemplate>
                             <ItemTemplate>
                                 <asp:CheckBox ID="CheckBox1" runat="server" />
                             </ItemTemplate>
                         </asp:TemplateField>
                         <asp:BoundField DataField="ID" HeaderText="ID" />
                         <asp:BoundField DataField="Model" HeaderText="Model" />
                         <asp:BoundField DataField="Dies" HeaderText="Dies" />
                         <asp:BoundField DataField="MaxPressure" HeaderText="Max Pressure" />
                         <asp:BoundField DataField="MaxDiameterOfTablet" 
                             HeaderText="Max Diameter OfT ablet" />
                         <asp:BoundField DataField="MaxDepthOfFill" HeaderText="Max Depth Of Fill" />
                         <asp:BoundField DataField="ProductionCapacity" 
                             HeaderText="Production Capacity" />
                         <asp:BoundField DataField="Size" HeaderText="Size" />
                         <asp:BoundField DataField="Weight" HeaderText="Weigth" />
                         <asp:TemplateField HeaderText="Image">
                             <EditItemTemplate>
                                 <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Image") %>'></asp:TextBox>
                             </EditItemTemplate>
                             <ItemTemplate>
                                 <asp:Image ID="Image1" runat="server" Height="99px" 
                                     ImageUrl='<%# Eval("Image") %>' Width="86px" />
                             </ItemTemplate>
                         </asp:TemplateField>
                         <asp:CommandField ButtonType="Image" HeaderText="Edit" 
                             SelectImageUrl="~/WebApplication/icons/edit.png" ShowSelectButton="True" />
                         <asp:CommandField ButtonType="Image" 
                             DeleteImageUrl="~/WebApplication/icons/red_ico.png" HeaderText="Delete" 
                             ShowDeleteButton="True" />
                     </Columns>
                     <FooterStyle BackColor="White" ForeColor="#000066" />
                     <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                     <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                     <RowStyle ForeColor="#000066" />
                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                     <SortedAscendingCellStyle BackColor="#F1F1F1" />
                     <SortedAscendingHeaderStyle BackColor="#007DBB" />
                     <SortedDescendingCellStyle BackColor="#CAC9C9" />
                     <SortedDescendingHeaderStyle BackColor="#00547E" />
                 </asp:GridView>

                 <asp:Button ID="btDelete" runat="server" style="text-align: right" 
                        Text="Delete Checked" class="button" onclick="btDelete_Click" />
                    
                        
                           
                            
            </div><!--end content-->

    </asp:Content>


<asp:Content ID="Content3" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
    <div id="sidebar">
        <ul class="nav">
            <li ><a class="headitem item8" >Account Manager</a>
                <ul>
                    <li><a href="ADAccounts.aspx">Account Table</a></li>
                </ul>
            </li>
            <li><a class="headitem item2" >Products Manager</a>
                <ul class="opened">
                                        <!-- ul items without this class get hiddden by jquery-->
                                        <li><a href="ADEncapsulation.aspx">Encapsulation</a></li>
                    <li class="current"><a href="ADTablet.aspx">Tablet</a></li>
                    <li><a href="ADLiquidFilling.aspx">Liquid Filling</a></li>
                </ul>
            </li>
            <li><a class="headitem item3" href="Career.aspx">Resume Manager</a>
                <ul>
                    <li><a href="ADResume.aspx">Resume Table</a></li>
                </ul>
            </li>
            <li><a class="headitem item4" >Quote Us Manager</a>
                <ul>
                    <li><a href="ADQuoteUs.aspx">Quote Us</a></li>
                </ul>
            </li>
            <li><a class="headitem item9" >Contact Us Manager</a>
                <ul>
                    <li><a href="ADContactUs.aspx">Contact Us</a></li>
                </ul>
            </li>
        </ul>
                            <!--end subnav-->
                            
                            <div class="flexy_datepicker">
        </div>
        <ul>
        </ul>
    </div>
</asp:Content>



